package com.peas.platform.module.icims.base.approve.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.ApproveOrderTobeRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.po.ApproveOrderTobePo;
import com.peas.platform.module.icims.base.approve.domain.ApproveOrderTobeDomain;
import com.peas.platform.module.icims.base.approve.dto.ApproveOrderTobeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ApproveOrderTobeDomainImpl extends BaseDomainImpl<ApproveOrderTobeDto, ApproveOrderTobePo> implements ApproveOrderTobeDomain {

    @Resource
    private ApproveOrderTobeRepository approveOrderTobeRepository;

    @Override
    public BaseRepository<ApproveOrderTobePo> getMapper() {
        return approveOrderTobeRepository;
    }

    @Override
    public Class<? extends BaseRepository<ApproveOrderTobePo>> getRepositoryClass() {
        return ApproveOrderTobeRepository.class;
    }

}
